
<form id="form" action="{:url('setting/config')}">
<div class="titlebar">联盟城市</div>
<table class="formtable">
    <tr>
        <th>独家运营:</th>
        <td>
            <input class="input" datatype="npot" type="text" name="city_only_price" value="{$info.city_only_price?:''}" />￥
            <span class="gray">首次开通选择独家运营的费用</span>
        </td>
    </tr>
    <tr>
        <th>共享运营:</th>
        <td><input class="input" datatype="npot" type="text" name="city_sharing_price" value="{$info.city_sharing_price?:''}" />￥  </td>
    </tr>
</tr>
</table>
<div class="titlebar">付款配置</div>
<table class="formtable">
    <tr><th>平台商户号:</th><td><input class="input" datatype="n" type="text" name="mchid" value="{$info.mchid?:''}" /></td></tr>
    <tr><th>默认服务费:</th><td><input class="input" datatype="npot" type="text" name="charge" value="{$info.charge?:''}" /> %</td></tr>
</table>
<div class="titlebar">优惠券</div>
<table class="formtable">
    <tr>
        <th>有效期:</th>
        <td><input class="input" datatype="n" type="text" name="coupon_longtime" value="{$info.coupon_longtime?:''}" /> 小时</td>
    </tr>
    <tr>
        <th>开放使用:</th>
        <td>
            <select class="select w180" datatype="*" name="coupon_is_pay_open" class="select">
                <option value="0" {$info.coupon_is_pay_open == 0 ? 'selected' : ''}>禁止</option>
                <option value="1" {$info.coupon_is_pay_open == 1 ? 'selected' : ''}>允许</option>
            </select>
            <span class="gray">用户不需要领取，到店既可以使用优惠券。</span>
        </td>
    </tr>
</table>
<div class="titlebar">商圈配置</div>
<table class="formtable">
    <tr>
        <th>加圏数量:</th>
        <td><input class="input" datatype="n" type="text" name="group_join" value="{$info.group_join?:''}" /></td>
    </tr>
    <tr>
        <th>成员数量:</th>
        <td><input class="input" datatype="n" type="text" name="group_member" value="{$info.group_member?:''}" /> 人</td>
    </tr>
    <tr>
        <th>引流分润:</th>
        <td><input class="input" datatype="n" type="text" name="group_profit" value="{$info.group_profit?:''}" /> %</td>
    </tr>
</table>
<div class="titlebar">其它配置</div>
<table class="formtable">
    <tr>
        <th>客服电话:</th>
        <td><input class="input" datatype="*" type="text" name="service_telephone" value="{$info.service_telephone?:''}" /></td>
    </tr>
    <tr>
        <th></th>
        <td>
            <input type="submit" value="确定" class="button button-red submit" />
            <input type="reset" value="重置" class="button" />
        </td>
    </tr>
</table>
</form>
<script type="text/javascript">
Do('base', 'layer', 'form', function () {
    $('#form').isForm();
})
</script>